package org.darkforest.model;

import net.sf.json.JSONObject;

/**
 * 项目名称         :bwmall-common
 * 文件名           :OrderCommonVo.java
 * 开发公司及作者    :陈超
 * 版本号及开发日期  :Rev. 1.00 (2015年3月21日)
 */
public class OrderCommonVo extends OrderCommon {


    private Address address;

    public void setAddress(Address address) {
        this.address = address;
    }

    public Address getAddress() {

        JSONObject jsonObject = JSONObject.fromObject(super.getReciverInfo());
        address = (Address) JSONObject.toBean(jsonObject, Address.class);
        return address;
    }
}
